#ifndef PAGEHARDWARESTAT_H
#define PAGEHARDWARESTAT_H

#include <QWidget>
#include <QTimer>
#include <QNetworkInterface>
#include "globalconfig.h"
#ifdef M1515
#include "M1515/hisi_avic.h"
#include "M1515/hisi_dev.h"
#endif

namespace Ui {
class PageHardWareStat;
}

class PageHardWareStat : public QWidget
{
    Q_OBJECT

public:
    explicit PageHardWareStat(QWidget *parent = nullptr);
    ~PageHardWareStat();
    void flush_hardware_stat();
    void flush_interface_info();
signals:
    void returnToMaintMenu();
    void signal_manual_change_board(bool);
private:
    Ui::PageHardWareStat *ui;
private slots:
    void on_Btn_Return_clicked();
    void on_Btn_ManualChangeBoard_clicked();

private:
    int last_stat_1;
    int last_stat_2;
    bool manual_change_cmd_= false;
};

#endif // PAGEHARDWARESTAT_H
